package taskrunner

const (
	// 消息
	READY_TO_DISPATCH = "d"
	READY_TO_EXECUTE  = "e"
	CLOSE             = "c"

	VIDEO_PATH = "./videos/"
)

// 类型别名，接近泛型
type controlChan chan string
type dataChan chan interface{}
type fn func(dc dataChan) error
